package org.example.domain.shop.model.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

/**
 * @author yinghuashen
 * @version 1.0
 * @description:
 * @date 2025/3/8 00:17
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DiscountCalculationContextEntity {

    private String productId;

    private BigDecimal discount = new BigDecimal(0);

    private Map<String, Boolean> filterEnabledMap = new HashMap<>();

}
